package model

import "gorm.io/gorm"

type RoleSetting struct {
	gorm.Model
	RoleName string `json:"rolename" gorm:"type:varchar(12); not null; unique"`
	//身份信息
	RoleInfo string `json:"roleinfo" gorm:"type:text;"`
	//背景信息
	BackgroundInfo string `json:"backgroundinfo" gorm:"type:text"`
	//人物重大故事
	RoleStory string `json:"rolestory" gorm:"type:text"`
	//人物重大转折
	CharacterTransformation string `json:"charactertransformation" gorm:"type:text"`
	BookID                  uint   `json:"bookid"`
}
